/**
* @filename:RolePermissions 2022-03-22 02:40:48
* @project com/lwl/blue  V1.0
* Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
* All right reserved.
*/
package com.lwl.blue.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lwl.blue.commont.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* <p>代码自动生成，请勿修改</p>
*
* <p>说明： 角色对应权限表 一对多实体类</P>
* @version: V1.0
* @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
*
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class RolePermissions extends BaseEntity implements Serializable {

private static final long serialVersionUID = 1647931248688L;
    @ApiModelProperty(name = "createTime", value = "创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(name = "createUser", value = "创建人")
    private String createUser;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "ID")
    private Integer id;
    @ApiModelProperty(name = "isDelete", value = "0否1是")
    private Integer isDelete;
    @ApiModelProperty(name = "permissionsId", value = "权限ID")
    private Integer permissionsId;
    @ApiModelProperty(name = "rolesId", value = "角色ID")
    private Integer rolesId;

    @ApiModelProperty(name = "createTimeStart", value = "时间条件参数开始--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;
    @ApiModelProperty(name = "createTimeEnd", value = "时间条件参数结束--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;
    @ApiModelProperty(name = "idBatch", value = "批量主键处理")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private List<Integer> idBatch;
    @ApiModelProperty(name = "updateTimeStart", value = "时间条件参数开始--修改时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTimeStart;
    @ApiModelProperty(name = "updateTimeEnd", value = "时间条件参数结束--修改时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTimeEnd;
    @ApiModelProperty(name = "paramAsc", value = "升序参数：createTime、createUser、id、isDelete、permissionsId、rolesId、updateTime、updateUser、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramAsc;
    @ApiModelProperty(name = "paramDesc", value = "降序参数：createTime、createUser、id、isDelete、permissionsId、rolesId、updateTime、updateUser、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramDesc;
}
